package com.xingkeduo.dto.response;

import com.xingkeduo.pojo.enums.RefundType;
import com.xingkeduo.utils.TableAnnotations;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author chi  2019-03-26 13:59
 **/
@Data
public class OrderRefundResponseDto {

    private long orderId;

    private String userId;

    @TableAnnotations("退款状态")
    private String refundStatus;

    @TableAnnotations("发型师退款原因")
    private String refundReason;

    @TableAnnotations("退款驳回原因")
    private String refundRejectReason;

    @TableAnnotations("退款方式")
    private RefundType refundType;

    @TableAnnotations("退款时间")
    private LocalDateTime refundTime;

    @TableAnnotations("用户退款金额")
    private BigDecimal backMoney;

    //发起人
    private String sponsorName;

    //审核人
    private String auditingName;

    private LocalDateTime sponsorTime;

    @TableAnnotations("退款驳回时间")
    private LocalDateTime refundRejectTime;

}
